import { RouteConfig } from 'vue-router'
import Layout from '@/layout/index.vue'

const payRouter: RouteConfig = {
  path: '/pay',
  component: Layout,
  redirect: 'noredirect',
  name: 'Pay',
  meta: {
    title: 'pay',
    icon: 'chart'
  },
  children: [
    {
      path: 'returnPay',
      component: () => import(/* webpackChunkName: "systemIndex" */ '@/views/pay/returnPay.vue'),
      name: 'returnPay',
      meta: {
        title: 'returnPay',
        noCache: true
      }
    },

        {
          path: 'receiptPay',
          component: () => import(/* webpackChunkName: "bar-chart" */  '@/views/pay/receiptPay.vue'),
          name: 'receiptPay',
          meta: {
            title: 'receiptPay',
            noCache: true
          }
        },


      ]
}

export default payRouter
